package cn.exrick.xboot.modules.transport.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author gj
 */
@Data
@Accessors(chain = true)
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "b_third_party_gps")
@TableName("b_third_party_gps")
@ApiModel(value = "第三方GPS对接信息")
public class ThirdPartyGps extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关联的订单ID")
    private Long orderId;

    @ApiModelProperty(value = "GPS对接状态，可选值：Registered, Read, Cancelled")
    private String gpsStatus;

    @ApiModelProperty(value = "GPS服务提供商名称")
    private String gpsProvider;

    @ApiModelProperty(value = "GPS设备ID")
    private String deviceId;

}